package com.huanwei.login_regist;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Button;
import android.widget.RelativeLayout;


import com.huanwei.cc.R;
import com.huanwei.questionfragment.DHD_Activity;
import com.huanwei.questionfragment.FK_Activity;
import com.huanwei.questionfragment.Yh_Activity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class Main_LS_Activity extends AppCompatActivity {

    @BindView(R.id.img_back)
    RelativeLayout imgBack;
    @BindView(R.id.button)
    Button button;
    @BindView(R.id.button2)
    Button button2;
    @BindView(R.id.button3)
    Button button3;
    @BindView(R.id.button4)
    Button button4;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_laoshixuanze);
        ButterKnife.bind(this);
    }

    @OnClick({R.id.img_back, R.id.button, R.id.button2, R.id.button3, R.id.button4})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.img_back:
                finish();
                break;
            case R.id.button:
                startActivity(new Intent(this, DHD_Activity.class));
                break;
            case R.id.button2:
                startActivity(new Intent(this, Yh_Activity.class));
                break;
            case R.id.button3:
                break;
            case R.id.button4:
                startActivity(new Intent(this, FK_Activity.class));

                break;
        }
    }
}
